package com.zhuzi.demojfoenix.ui;

import io.datafx.controller.ViewController;
import io.datafx.controller.ViewController;
import io.datafx.controller.flow.action.LinkAction;
import javafx.fxml.FXML;
import javafx.scene.control.Button;

import javax.annotation.PostConstruct;

/**
 * @author MI
 * @ClassName View2Controller.java
 * @createTime 2021年11月05日 13:51:00
 */
@ViewController(value = "/com/zhuzi/demojfoenix/ui/view2.fxml")
public class View2Controller {

    @FXML
    @LinkAction(View1Controller.class)
    private Button actionButton;

    @PostConstruct
    public void init() {
        System.out.println("show");
    }
}
